<include file="public@header"/>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
</style>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('TechAdmin/index')}">老师信息列表</a></li>
        <li class="active"><a href="#">老师可预约时间</a></li>
    </ul>
    <form action="{:url('TechAdmin/reliuyan')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <input type="text" value="{$res.id}" class="form-control" name="id" style="display:none">
        <div class="row">
            <div class="col-md-9">
                <table class="table table-bordered">
                    <tr>
                        <th style="text-align: center">日期</th>
                        <td>
                            <if condition="$res.stdate==''||$res.enddate==''">
                                <else/>
                                开始日期：{:date('Y-m-d',$res.stdate)} - 开始日期：{:date('Y-m-d',$res.enddate)}
                            </if>
                        </td>
                    </tr>
                    <tr>
                        <th style="text-align: center">时间</th>
                        <td>
                            {$res.week}
                        </td>
                    </tr>
                    <tr>
                        <th style="text-align: center">时间段</th>
                        <td>
                            <if condition="$res.stdate==''||$res.enddate==''">
                                <else/>
                                开始时间：{$res.sttime} - 结束时间：{$res.endtime}
                            </if>
                        </td>
                    </tr>
                </table>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <a class="btn btn-default" href="{:url('TechAdmin/liuyan')}">{:lang('BACK')}</a>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
</body>
</html>